package com.zlsy.springbootdemo.utils;

import java.util.Random;

/**
 * @author zhouliang
 * @date 2020/6/3 18:12
 */
public class RemarkUtils {

    private final static Random RANDOM = new Random();

    public static String getRemark() {
        String[] remarks = new String[]{"apple", "pie tart fruit crumble tree", "If a returned document matches the positive query and this query, the boosting query calculates the final relevance score for the document as follows",
                "Take the original relevance score from the positive query", "Multiply the score by the negative_boost value"};
        int index = RANDOM.nextInt(remarks.length);
        return remarks[index];
    }
}
